package com.gk.panda.commons.util.http;

import lombok.Data;

import java.io.Serializable;

/**
 * @author Yangsm
 * @ClassName: HttpClientResult
 * @Description: TODO
 * @date 2022年05月09日 21:26
 */
@Data
public class HttpClientResult implements Serializable {

    private static final long serialVersionUID = -3296298136721560320L;
    /**
     * 响应状态码
     */
    private int code;

    private int status;

    /**
     * 响应数据
     */
    private String content;
    public HttpClientResult(int code) {
        this.code = code;
    }

    public HttpClientResult(int code, String content) {
        this.code = code;
        this.content = content;
    }

    public int getCode() {
        return code;
    }

    public String getContent() {
        return content;
    }

}
